Avoid a race between Xend removing the vm entries corresponding to a domain,
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 2 Mar 2006 00:59:28 +0000 (01:59 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 2 Mar 2006 00:59:28 +0000 (01:59 +0100)
commit4749c682b0e652d9dfa831eeb7ad7eafbed218eb
tree8c6f6616be4c167d851b81939307363aff4df2e9
parentaf77e81a1ca6ff7566310ccc017b110e04d59de2
Avoid a race between Xend removing the vm entries corresponding to a domain,
and the hotplug scripts checking whether that domain is still alive.  This
triggers the "xenstore-read: couldn't read path /local/domain/107/vm" message
in /var/log/xen-hotplug.log, followed by "Device XYZ is mounted in a guest
domain and so cannot be mounted now".

Closes bug #514.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/block